﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Progetto.Beans
{
    public class Event
    {
        private string _name;
        private DateTime _startDate;
        private DateTime _endDate;
        private DateTime _startTime;
        private DateTime _endTime;
        private string _description;
        private bool _privateEvent;
        private string _imageURL;
        private Friend _owner;

        public DateTime EndTime
        {
            get { return _endTime; }
            set { _endTime = value; }
        }

        public DateTime StartTime
        {
            get { return _startTime; }
            set { _startTime = value; }
        }

        public Friend Owner
        {
            get { return _owner; }
            set { _owner = value; }
        }

        public string ImageURL
        {
            get { return _imageURL; }
            set { _imageURL = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public DateTime StartDate
        {
            get { return _startDate; }
            set { _startDate = value; }
        }

        public DateTime EndDate
        {
            get { return _endDate; }
            set { _endDate = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public bool IsPublic
        {
            get { return !_privateEvent; }
            set { _privateEvent = !value; }
        }


    }
}
